home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Updates⁄New / MemoNoteStack 4.0 / card_4731.txt < prev    next >
Encoding:
Text File  |  1988-03-06  |  13.8 KB  |  547 lines

  1. -- card: 4731 from stack: in.0
  2. -- bmap block id: 6059
  3. -- flags: 4000
  4. -- background id: 2781
  5. -- name: MemoNoteSettings
  6. ----- HyperTalk script -----
  7.  
  8.  
  9. on closecard
  10.   global gNoteStyle, gNoteShowLines, gNoteTFont, gNoteTStyle,gNoteTHeight
  11.   global gNoteTSize, gGlobalInitFlag, gDoMeNoteRequireCmd,gRegisteredFlag
  12.   put the hilite of button "gNoteShowLines" into gNoteShowLines
  13.   put the hilite of button "gDoMeNoteRequireCmd" into gDoMeNoteRequireCmd
  14.   repeat with Num = 0 to 4
  15.     put "btn (num + the number of btn ""e&"Scrolling""e&")" into it
  16.     if the hilite of it  = true then
  17.       put the short name of it into gNoteStyle
  18.       exit repeat
  19.     end if
  20.   end repeat
  21.   repeat with Num = 0 to 2
  22.     put "btn (num + the number of btn ""e&"Left""e&")" into it
  23.     if the hilite of it  = true then
  24.       put the short name of it into gNoteAlign
  25.       exit repeat
  26.     end if
  27.   end repeat
  28.   get the TextSize of card field "trial Field"
  29.   put it into gNoteTSize
  30.   get the TextFont of card field "trial Field"
  31.   put it into gNoteTFont
  32.   get the TextStyle of card field "trial Field"
  33.   put it into gNoteTStyle
  34.   get the textHeight of card field "trial Field"
  35.   put it into gNoteTHeight
  36.   set showLines of card field "Trial Field" to gNoteShowLines
  37.   put the visible of button "gRegisteredFlag" into gRegisteredFlag
  38.   pass closecard
  39. end closecard
  40. on SetStyle theStyle
  41.   global gNoteStyle,gNoteShowLines
  42.   put theStyle into gNoteStyle
  43.   repeat with Num = 0 to 4
  44.     put "btn (num + the number of btn ""e&"Scrolling""e&")" into it
  45.     if the short name of it = theStyle then
  46.       set the hilite of it to true
  47.       next repeat
  48.     end if
  49.     set the hilite of it to false
  50.   end repeat
  51.   set showLines of card field "Trial Field" to gNoteShowLines
  52.   set the style of card field "Trial Field" to gNoteStyle
  53. end SetStyle
  54. on SetAlign theStyle
  55.   global gNoteAlign
  56.   put theStyle into gNoteAlign
  57.   repeat with Num = 0 to 2
  58.     put "btn (num + the number of btn ""e&"Left""e&")" into it
  59.     if the short name of it = theStyle then
  60.       set the hilite of it to true
  61.       next repeat
  62.     end if
  63.     set the hilite of it to false
  64.   end repeat
  65.   set textAlign of card field "Trial Field" to gNoteAlign
  66. end SetAlign
  67.  
  68.  
  69. -- part 1 (field)
  70. -- low flags: 01
  71. -- high flags: 4007
  72. -- rect: left=36 top=129 right=199 bottom=248
  73. -- title width / last selected line: 0
  74. -- icon id / first selected line: 0 / 0
  75. -- text alignment: 0
  76. -- font id: 3
  77. -- text size: 9
  78. -- style flags: 0
  79. -- line height: 12
  80. -- part name: Trial Field
  81.  
  82.  
  83. -- part 3 (field)
  84. -- low flags: 00
  85. -- high flags: 0002
  86. -- rect: left=36 top=203 right=222 bottom=64
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 65535
  90. -- font id: 3
  91. -- text size: 12
  92. -- style flags: 0
  93. -- line height: 16
  94. -- part name: gNoteTSize
  95. ----- HyperTalk script -----
  96. on closefield
  97.   global gNoteTSize
  98.   put the id of me into MyId
  99.   if card field id myId<6 or card field id myId>48 then
  100.     beep
  101.     click at the loc of card field id myId
  102.     click at the loc of card field id myId
  103.     exit closefield
  104.   end if
  105.  
  106.   put card field id myId into gNoteTSize
  107.   set the textSize of card field "Trial Field" to gNoteTSize
  108. end closefield
  109.  
  110.  
  111. -- part 12 (button)
  112. -- low flags: 00
  113. -- high flags: 6005
  114. -- rect: left=283 top=247 right=263 bottom=301
  115. -- title width / last selected line: 0
  116. -- icon id / first selected line: 0 / 0
  117. -- text alignment: 1
  118. -- font id: 130
  119. -- text size: 12
  120. -- style flags: 0
  121. -- line height: 16
  122. -- part name: gNoteShowLines
  123. ----- HyperTalk script -----
  124. on mouseUp
  125.   global gNoteShowLines
  126.   put the hilite of me into gNoteShowLines
  127.   send closeCard
  128. end mouseUp
  129. on mousedown
  130. end mousedown
  131.  
  132.  
  133. -- part 13 (button)
  134. -- low flags: 00
  135. -- high flags: 6006
  136. -- rect: left=283 top=148 right=167 bottom=378
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 1
  140. -- font id: 130
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: Scrolling
  145. ----- HyperTalk script -----
  146. on mouseUp
  147.   setStyle the short name of me
  148. end mouseUp
  149.  
  150.  
  151.  
  152. -- part 14 (button)
  153. -- low flags: 00
  154. -- high flags: 2006
  155. -- rect: left=283 top=166 right=185 bottom=379
  156. -- title width / last selected line: 0
  157. -- icon id / first selected line: 0 / 0
  158. -- text alignment: 1
  159. -- font id: 130
  160. -- text size: 12
  161. -- style flags: 0
  162. -- line height: 16
  163. -- part name: Rectangle
  164. ----- HyperTalk script -----
  165. on mouseUp
  166.   setStyle the short name of me
  167. end mouseUp
  168.  
  169.  
  170.  
  171. -- part 15 (button)
  172. -- low flags: 00
  173. -- high flags: 2006
  174. -- rect: left=283 top=184 right=203 bottom=378
  175. -- title width / last selected line: 0
  176. -- icon id / first selected line: 0 / 0
  177. -- text alignment: 1
  178. -- font id: 130
  179. -- text size: 12
  180. -- style flags: 0
  181. -- line height: 16
  182. -- part name: Opaque
  183. ----- HyperTalk script -----
  184. on mouseUp
  185.   setStyle the short name of me
  186. end mouseUp
  187.  
  188.  
  189.  
  190. -- part 16 (button)
  191. -- low flags: 00
  192. -- high flags: 2006
  193. -- rect: left=283 top=202 right=221 bottom=378
  194. -- title width / last selected line: 0
  195. -- icon id / first selected line: 0 / 0
  196. -- text alignment: 1
  197. -- font id: 130
  198. -- text size: 12
  199. -- style flags: 0
  200. -- line height: 16
  201. -- part name: Transparent
  202. ----- HyperTalk script -----
  203. on mouseUp
  204.   setStyle the short name of me
  205. end mouseUp
  206.  
  207.  
  208.  
  209. -- part 17 (button)
  210. -- low flags: 00
  211. -- high flags: 2006
  212. -- rect: left=283 top=220 right=239 bottom=378
  213. -- title width / last selected line: 0
  214. -- icon id / first selected line: 0 / 0
  215. -- text alignment: 1
  216. -- font id: 130
  217. -- text size: 12
  218. -- style flags: 0
  219. -- line height: 16
  220. -- part name: Shadow
  221. ----- HyperTalk script -----
  222. on mouseUp
  223.   setStyle the short name of me
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 18 (button)
  229. -- low flags: 00
  230. -- high flags: 6005
  231. -- rect: left=283 top=265 right=282 bottom=301
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 1
  235. -- font id: 130
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: gDoMeNoteRequireCmd
  240. ----- HyperTalk script -----
  241. on mouseUp -- Determines whether the command key must be down to Do
  242.   -- the DoMe‚Ñ¢ Script
  243.   global gDoMeNoteRequireCmd -- Default is True
  244.   put the hilite of me into gDoMeNoteRequireCmd
  245. end mouseUp
  246. on mousedown
  247. end mousedown
  248.  
  249.  
  250. -- part 65 (field)
  251. -- low flags: 01
  252. -- high flags: 0002
  253. -- rect: left=36 top=110 right=130 bottom=142
  254. -- title width / last selected line: 0
  255. -- icon id / first selected line: 0 / 0
  256. -- text alignment: 1
  257. -- font id: 3
  258. -- text size: 12
  259. -- style flags: 0
  260. -- line height: 16
  261. -- part name: NoteFontName
  262.  
  263.  
  264. -- part 81 (button)
  265. -- low flags: 80
  266. -- high flags: 0000
  267. -- rect: left=182 top=76 right=93 bottom=200
  268. -- title width / last selected line: 0
  269. -- icon id / first selected line: 0 / 0
  270. -- text alignment: 1
  271. -- font id: 130
  272. -- text size: 12
  273. -- style flags: 0
  274. -- line height: 16
  275. -- part name: gRegisteredFlag
  276. ----- HyperTalk script -----
  277. on mouseUp -
  278.   global gRegisteredFlag -- Default is not Visible
  279.   put the visible of me into gRegisteredFleg
  280. end mouseUp
  281. on mousedown
  282. end mousedown
  283.  
  284.  
  285. -- part 76 (button)
  286. -- low flags: 00
  287. -- high flags: 0000
  288. -- rect: left=93 top=75 right=130 bottom=200
  289. -- title width / last selected line: 0
  290. -- icon id / first selected line: 0 / 0
  291. -- text alignment: 1
  292. -- font id: 130
  293. -- text size: 12
  294. -- style flags: 0
  295. -- line height: 16
  296. -- part name: 
  297.  
  298.  
  299. -- part 61 (button)
  300. -- low flags: 00
  301. -- high flags: 2000
  302. -- rect: left=37 top=88 right=107 bottom=142
  303. -- title width / last selected line: 0
  304. -- icon id / first selected line: 0 / 0
  305. -- text alignment: 1
  306. -- font id: 130
  307. -- text size: 12
  308. -- style flags: 0
  309. -- line height: 16
  310. -- part name: Note Text Font
  311. ----- HyperTalk script -----
  312. on mouseUp
  313.   global gNoteTFont,gNoteTStyle,gNoteTSize
  314.   set lockscreen to true
  315.   choose field tool
  316.  
  317.   click at the loc of card field "Trial Field"
  318.   domenu Text Style...
  319.   choose browse tool
  320.   get the TextFont of card field "trial Field"
  321.   put it into gNoteTFont
  322.   put it into card field "NoteFontName"
  323.   set the textFont of card field "NoteFontName" to it
  324.   get the TextSize of card field "trial Field"
  325.   put it into gNoteTSize
  326.   put it into card field "gNoteTSize"
  327.   get the TextHeight of card field "trial Field"
  328.   put it into gNoteTHeight
  329.   put it into card field "gNoteTHeight"
  330.   get the TextStyle of card field "trial Field"
  331.   put it into gNoteTStyle
  332.   set lockscreen to false
  333. end mouseUp
  334.  
  335. on mousedown
  336. end mousedown
  337.  
  338.  
  339. -- part 72 (field)
  340. -- low flags: 00
  341. -- high flags: 0002
  342. -- rect: left=36 top=221 right=240 bottom=64
  343. -- title width / last selected line: 0
  344. -- icon id / first selected line: 0 / 0
  345. -- text alignment: 65535
  346. -- font id: 3
  347. -- text size: 12
  348. -- style flags: 0
  349. -- line height: 16
  350. -- part name: gNoteTHeight
  351. ----- HyperTalk script -----
  352. on closefield
  353.   global gNoteTHeight
  354.   put the id of me into MyId
  355.   if card field id myId<6 or card field id myId>48 then
  356.     beep
  357.     click at the loc of card field id myId
  358.     click at the loc of card field id myId
  359.     exit closefield
  360.   end if
  361.   put card field id myId into gNoteTHeight
  362.   set the textHeight of card field "Trial Field" to gNoteTHeight
  363. end closefield
  364.  
  365.  
  366. -- part 73 (button)
  367. -- low flags: 00
  368. -- high flags: 6006
  369. -- rect: left=283 top=89 right=108 bottom=378
  370. -- title width / last selected line: 0
  371. -- icon id / first selected line: 0 / 0
  372. -- text alignment: 1
  373. -- font id: 130
  374. -- text size: 12
  375. -- style flags: 0
  376. -- line height: 16
  377. -- part name: Left
  378. ----- HyperTalk script -----
  379. on mouseUp
  380.   setAlign the short name of me
  381. end mouseUp
  382.  
  383.  
  384.  
  385. -- part 74 (button)
  386. -- low flags: 00
  387. -- high flags: 2006
  388. -- rect: left=283 top=107 right=126 bottom=379
  389. -- title width / last selected line: 0
  390. -- icon id / first selected line: 0 / 0
  391. -- text alignment: 1
  392. -- font id: 130
  393. -- text size: 12
  394. -- style flags: 0
  395. -- line height: 16
  396. -- part name: Center
  397. ----- HyperTalk script -----
  398. on mouseUp
  399.   setAlign the short name of me
  400. end mouseUp
  401.  
  402.  
  403.  
  404. -- part 75 (button)
  405. -- low flags: 00
  406. -- high flags: A006
  407. -- rect: left=283 top=125 right=144 bottom=378
  408. -- title width / last selected line: 0
  409. -- icon id / first selected line: 0 / 0
  410. -- text alignment: 1
  411. -- font id: 130
  412. -- text size: 12
  413. -- style flags: 0
  414. -- line height: 16
  415. -- part name: Right
  416. ----- HyperTalk script -----
  417. on mouseUp
  418.   setAlign the short name of me
  419. end mouseUp
  420.  
  421.  
  422.  
  423. -- part 77 (button)
  424. -- low flags: 00
  425. -- high flags: 8002
  426. -- rect: left=36 top=244 right=263 bottom=182
  427. -- title width / last selected line: 0
  428. -- icon id / first selected line: 0 / 0
  429. -- text alignment: 1
  430. -- font id: 0
  431. -- text size: 12
  432. -- style flags: 0
  433. -- line height: 16
  434. -- part name: More on MemoNotes
  435. ----- HyperTalk script -----
  436. on mouseUp
  437.   go to card id 2885
  438. end mouseUp
  439.  
  440.  
  441.  
  442. -- part 78 (field)
  443. -- low flags: 81
  444. -- high flags: 2007
  445. -- rect: left=178 top=63 right=297 bottom=419
  446. -- title width / last selected line: 0
  447. -- icon id / first selected line: 0 / 0
  448. -- text alignment: 0
  449. -- font id: 3
  450. -- text size: 9
  451. -- style flags: 0
  452. -- line height: 12
  453. -- part name: About Settings
  454. ----- HyperTalk script -----
  455. on mouseup
  456.   hide the target
  457. end mouseup
  458.  
  459.  
  460.  
  461. -- part 79 (button)
  462. -- low flags: 00
  463. -- high flags: 0000
  464. -- rect: left=431 top=42 right=65 bottom=454
  465. -- title width / last selected line: 0
  466. -- icon id / first selected line: 19678 / 19678
  467. -- text alignment: 1
  468. -- font id: 0
  469. -- text size: 12
  470. -- style flags: 0
  471. -- line height: 16
  472. -- part name: Tell More
  473. ----- HyperTalk script -----
  474. on mouseUp
  475.   visual effect iris open
  476.   put "card field"&"e&"About Settings""e into it
  477.   set the visible of it to not the visible of it
  478. end mouseUp
  479.  
  480.  
  481.  
  482. -- part 80 (button)
  483. -- low flags: 00
  484. -- high flags: 0000
  485. -- rect: left=431 top=42 right=65 bottom=454
  486. -- title width / last selected line: 0
  487. -- icon id / first selected line: 19678 / 19678
  488. -- text alignment: 1
  489. -- font id: 0
  490. -- text size: 12
  491. -- style flags: 0
  492. -- line height: 16
  493. -- part name: Tell More
  494. ----- HyperTalk script -----
  495. on mouseUp
  496.   visual effect iris open
  497.   put "card field"&"e&"About Settings""e into it
  498.   set the visible of it to not the visible of it
  499. end mouseUp
  500.  
  501.  
  502.  
  503. -- part contents for background part 31
  504. ----- text -----
  505. Version 4.1.1
  506.  
  507. -- part contents for card part 3
  508. ----- text -----
  509. 9
  510.  
  511. -- part contents for card part 1
  512. ----- text -----
  513. The Text Style  of the Note Field can be set by clicking on the Note Text Font Button, or by typing the size or text height into the appropriate field. This Test Field shows the effects of the various selections.
  514.  
  515.  
  516. -- part contents for card part 65
  517. ----- text -----
  518. Geneva
  519.  
  520. -- part contents for card part 72
  521. ----- text -----
  522. 12
  523.  
  524. -- part contents for card part 78
  525. ----- text -----
  526.   The MemoNote‚Ñ¢ Settings Card allows you to set up the default Note style for your MemoNotes. Every Note created will then reflect your choices, until the settings are changed.
  527.   Most of the Options are self explanatory, but please note the follwing‚Ķ
  528.   ‚ÄúRequire Cmd Key for DoMeNote Action‚Äù as it says, DoMeNotes‚Ñ¢ normally behave like MemoNotes, if this check mark is turned OFF, the commandKey will NOT be required to perform the DoMe Field. However, it WILL be required to toggle the note on & off. This option will not work well with ShowNotes (Opt-click on MemoNotes Button), and may be removed.
  529.   The Text Size and Height fields will be over-ridden by the Text Font Dialog.
  530.   Finally, remember that if you take your stacks to somebody else‚Äôs Mac, any non-standard fonts may not be found there! Stick to the old standards if you‚Äôre publishing‚Ķ
  531.   If you do publish, you‚Äôll owe me for the Shareware, as well! 
  532.  
  533.   I hope you‚Äôll find DoMeNotes‚Ñ¢ as useful as I have! Please let me know, and if you find it useful enough, support the shareware ideal by registering your use of MemoNotes. You'll be supporting the further development of ideas like this one, and will be entered into our mailing list, and will possibly receive a sample issue of MiceType‚Ñ¢, our Quarterly Journal of Macintosh Typography and Design, as well as other good stuff.
  534.   You‚Äôll also receive a key to stop the Shareware Message from coming up in  all your notes!
  535.  
  536. DoMeNotes‚Ñ¢ ¬©1988
  537. Interactive Fields from MemoNotes
  538. MemoNotes‚Ñ¢ Hypernote system
  539. ¬©1988 PeterFraterdeus
  540. CIS 73306,2703
  541. ShareWare-$20. to: Alphabets, Inc.
  542. Box 5448 / Evanston, IL. 60204-5448
  543. 312-328-2733
  544.  
  545.  
  546.  
  547.